<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/9/5
  Time: 9:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Register</title>
    <link rel="stylesheet" href="/css/addbooks.css">
</head>
<body>
<div class="box1">
    <h1 style="text-align: center;margin-top: 80px">添加图书</h1>
    <form action="/addBook" method="post">
        <div>
            <label>书&ensp;&ensp;&ensp;&ensp;名：</label>
            <input type="text" name="book_name">
            <br>
            <label>作&ensp;&ensp;&ensp;&ensp;者：</label>
            <input type="text" name="book_author">
            <br>
            <label>出版时间：</label>
            <input type="date" name="book_time">
            <br>
            <label>简&ensp;&ensp;&ensp;&ensp;介：</label>
            <input type="text" name="book_content">
            <br>
            <label>类&ensp;&ensp;&ensp;&ensp;型：</label>
            <input type="text" name="book_type">
            <br>
            <input style="width: 150px" type="submit" value="添加">
            <br>
        </div>
        <button><a href="/bookList">返回</a></button>
    </form>
</div>
</body>
</html>
